package model;

import java.util.Date;


public class Payment 
{
    private int idPayment;
    private Client client;
    private int idPurchase;
    private double value;
    private String creditCard;
    private Date date;
    

    public Payment() 
	{ /* Empty */ }
    
    public Payment(int idPayment, Client client, int idPurchase, double value, String creditCard, Date date) 
    {
        this.idPayment = idPayment;
        this.client = client;
        this.idPurchase = idPurchase;
        this.value = value;
        this.creditCard = creditCard;
        this.date = date;
    }


	public int getIdPayment() 
	{ return idPayment; }

	public void setIdPayment(int idPayment) 
	{ this.idPayment = idPayment; }

	public Client getClient() 
	{ return client; }

	public void setClient(Client client) 
	{ this.client = client; }

	public int getIdPurchase() 
	{ return idPurchase; }

	public void setIdPurchase(int idPurchase) 
	{ this.idPurchase = idPurchase; }

	public double getValue() 
	{ return value; }

	public void setValue(double value) 
	{ this.value = value; }

	public String getCreditCard() 
	{ return creditCard; }

	public void setCreditCard(String creditCard) 
	{ this.creditCard = creditCard; }

	public Date getDate() 
	{ return date; }

	public void setDate(Date date) 
	{ this.date = date; }

}
